<!-- 功能模块通用文件 -->
<script type="text/javascript" src="${request.contextPath}/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="${request.contextPath}/assets/js/core.js?${(.now)!}"></script>
<script type="text/javascript" src="${request.contextPath}/assets/js/ajaxsetup.js"></script>
<#include "/comm/include-layui.ftl"/>
<link rel="stylesheet" href="${(request.contextPath)!}/assets/css/xadmin.css?${(.now)!}">
<script type="text/javascript">
    <#--let rc="${(request.contextPath)!}"-->
    <#--var __basePath = (rc)?rc: 'manager.zhcsty.com';-->
    var __basePath = "${(request.contextPath)!}/";
    <#--$(function () {-->
    <#--    image_error();-->
    <#--});-->
    <#--function image_error() {-->
    <#--    $.each($(".imageLoad"), function (index, row) {-->
    <#--        $(row).error(function () {-->
    <#--            $(row).unbind("error").attr("src", "${request.contextPath}/assets/images/imageLoadError.jpg");-->
    <#--        });-->
    <#--    });-->
    <#--}-->
    function sessionTimeout(sessionstatus) {
        var msg="由于您太久没操作，登录信息已过期，请重新登录！"
        if (sessionstatus === "permissionValid") {
            msg="您没有当前操作权限！";
        }else{
            layer.confirm(msg, {icon: 3}, function(){
                window.top.location.reload();
            }, function(){
                window.top.location.reload();
            });
        }
        console.log(msg)

    }
</script>

